<?
/**
 * <b>EndItemRequestType Class</b>
 * Published 04/11/2010 18:57:53
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('AbstractRequestType.php');
require_once('ItemIDType.php');
require_once('EndReasonCodeType.php');

class EndItemRequestType extends AbstractRequestType{
 /** Start Properties **/
	// @var EndReasonCodeType $EndingReason
	public $EndingReason;
	// @var ItemIDType $ItemID
	public $ItemID;
	// @var string $SellerInventoryID
	public $SellerInventoryID;
 /** End Properties **/

/**
 *
 * @return EndReasonCodeType
 */
	function getEndingReason(){
		return $this->EndingReason;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEndingReason($value){
		$this->EndingReason = $value;
	}


/**
 *
 * @return ItemIDType
 */
	function getItemID(){
		return $this->ItemID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setItemID($value){
		$this->ItemID = $value;
	}


/**
 *
 * @return string
 */
	function getSellerInventoryID(){
		return $this->SellerInventoryID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSellerInventoryID($value){
		$this->SellerInventoryID = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->AbstractRequestType("EndItemRequestType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"EndingReason"=>
					array(
						"required"=>false,
						"type"=>"EndReasonCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ItemID"=>
					array(
						"required"=>false,
						"type"=>"ItemIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SellerInventoryID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
